﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Field Type="Number" DisplayName="Количество" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" Min="0" Decimals="0" Group="MyShop: Deals" ID="{6511dc10-c7fe-40b7-8c57-fe1b014714db}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="ProductAmount" Name="ProductAmount" Percentage="FALSE" ShowInViewForms="TRUE"></Field>
  <Field Type="Calculated" DisplayName="Сумма сделки" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateOnly" Decimals="2" LCID="1058" ResultType="Currency" ReadOnly="TRUE" Group="MyShop: Deals" ID="{7a4ec142-a2c6-4381-8d0a-c6af628d2d79}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="TotalPrice" Name="TotalPrice" Required="FALSE" Percentage="FALSE" ShowInViewForms="TRUE">
    <Formula>=[Цена единицы]*Количество</Formula>
    <FieldRefs>
      <FieldRef Name="DealUnitPrice" ID="{40fba9c7-5ff9-4cd6-913d-2428a86a0c22}" />
      <FieldRef Name="ProductAmount" ID="{6511dc10-c7fe-40b7-8c57-fe1b014714db}" />
    </FieldRefs>
  </Field>
  <Field Type="Note" DisplayName="Описание сделки" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" NumLines="8" RichText="TRUE" RichTextMode="Compatible" Sortable="FALSE" Group="MyShop: Deals" ID="{ff617066-7646-4590-bc7f-64917b79085b}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="DealDescription" Name="DealDescription" RestrictedMode="TRUE" IsolateStyles="FALSE" AppendOnly="FALSE" UnlimitedLengthInDocumentLibrary="FALSE" ShowInViewForms="TRUE"></Field>
  <Field Type="DateTime" DisplayName="Дата начала сделки" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateOnly" Group="MyShop: Deals" ID="{02615e6e-573f-4443-9244-b07f1f7f47ef}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="DealStartDate" Name="DealStartDate" CalType="0" ShowInViewForms="TRUE"></Field>
  <Field Type="Currency" DisplayName="Цена единицы" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" Min="0" Decimals="2" LCID="1058" Group="MyShop: Deals" ID="{40fba9c7-5ff9-4cd6-913d-2428a86a0c22}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="DealUnitPrice" Name="DealUnitPrice" ShowInViewForms="TRUE"></Field>
  <Field Type="DateTime" DisplayName="Дата окончания сделки" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="DateTime" Group="MyShop: Deals" ID="{04a09ff4-2819-41a3-97ab-ddd44bc2f7ea}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="DealEndDate" Name="DealEndDate" CalType="0" ShowInViewForms="TRUE"></Field>
  <Field Type="Choice" DisplayName="Статус сделки" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="RadioButtons" FillInChoice="FALSE" Group="MyShop: Deals" ID="{a2e889f8-1e85-40e3-9765-b2e4438270d5}" SourceID="{457c947d-ee4e-438f-a19d-ac0296ace1a6}" StaticName="DealStatus" Name="DealStatus" ShowInViewForms="TRUE">
    <Default>Новая</Default>
    <CHOICES>
      <CHOICE>Новая</CHOICE>
      <CHOICE>В процессе</CHOICE>
      <CHOICE>Закрытая</CHOICE>
      <CHOICE>Отклонённая</CHOICE>
    </CHOICES>
  </Field>
</Elements>
